/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aicue1.services;

import aicue1.beans.Customer;
import aicue1.soapfaults.MessageTooLongFault;
import aicue1.soapfaults.UnknownCustomerFault;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

@WebService(name = "NotificationService",
            targetNamespace = "http://infosys.tuwien.ac.at/ait09/ass1/dto/notification",
            portName = "NotificationPT")
public interface NotificationService
{
    @WebMethod(operationName="notify_customer")
    public boolean notify_customer( @WebParam(name = "customer") Customer customer, 
            @WebParam(name = "message") String message) throws UnknownCustomerFault, MessageTooLongFault;
}